home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / rcmd20.zip / RCOMMAND.DOC next >
Text File  |  1991-01-06  |  5KB  |  109 lines

  1.  
  2.  
  3.  
  4.                                        RCOMMAND
  5.         
  6.                  Copyright, 1991, Steve Antonoff, Stone Mountain, GA
  7.         
  8.                   COMMAND line access to DOS with Carrier Detection
  9.         
  10.                                      Version 2.0
  11.         
  12.                                    January 6, 1991
  13.         
  14.              Introduction
  15.              ------------
  16.         
  17.              RCOMMAND is a simple program that accepts commands from  the 
  18.         DOS  "CONSOLE"  and passes the commands  to  COMMAND.COM.   While 
  19.         RCOMMAND is watching for keystrokes, it is also monitoring carri-
  20.         er detect on a user specified COM port.  RCOMMAND will  terminate 
  21.         if  carrier is lost, making RCOMMAND a safer path to  COMMAND.COM 
  22.         for  remote operations, thus the name: Remote COMMAND.   RCOMMAND 
  23.         will monitor any COM port: the I/O Port Address can be  specified 
  24.         on the command line for non-standard Port Addresses.  A TEST mode 
  25.         is available for local testing.  
  26.         
  27.              Command processing
  28.              ------------------
  29.         
  30.              Since all commands are passed to COMMAND.COM for processing, 
  31.         all  commands should execute normally with the  following  excep-
  32.         tions:
  33.         
  34.                   1)  RAM tight situations (RCOMMAND occupies about  20KB 
  35.         of RAM)
  36.         
  37.                   2) Attempts to modify the DOS environment strings  with 
  38.         the SET command (since RCOMMAND shells to DOS, a new DOS environ-
  39.         ment  is  created for each command, and any changes made  to  the 
  40.         environment  are lost.)  To run a program that requires a  change 
  41.         to  the environment, it is necessary to create a BATCH file  that 
  42.         does  the modification and runs the program.  Run the BATCH  file 
  43.         from RCOMMANd and all should be well.
  44.         
  45.              Exiting RCOMMAND
  46.              ----------------
  47.         
  48.              There are 3 things which will cause RCOMMAND to exit:
  49.         
  50.                   1) Typing the command "EXIT" (exit with errorlevel 0)
  51.                   2) Loss of carrier (exit with errorlevel 1)
  52.                   3) A sequence of Control-C followed by a Q followed  by 
  53.         a Return (exit with errorlevel 2)
  54.         
  55.              The  third  exit path, setting the errorlevel to  2,  is  to 
  56.         enable  DOORWAY to terminate RCOMMAND in the event of a  timeout: 
  57.         DOORWAY  sends a plethora of codes to the keyboard buffer  in  an 
  58.         attempt  to terminate the application; RCOMMAND monitors for  one 
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.         of the sequences that DOORWAY sends and terminates.
  66.         
  67.              Specifying the PORT
  68.              -------------------
  69.         
  70.              RCOMMAND  will  default  to COM1, I/O  port  address  0x3F8, 
  71.         although  specifying  a  "1" on the command line  will  not  hurt 
  72.         anything.   COM2  can  be specified by adding  the  command  line 
  73.         parameter of 2 after RCOMMAND:
  74.         
  75.                   RCOMMAND 2
  76.         
  77.              RCOMMAND knows the I/O address of COM2, as well: 0x2F8.  For 
  78.         any other COM port (or if your I/O address is non-standard),  the 
  79.         I/O  Port Address can be specified on the command line, in  hexa-
  80.         decimal, along with the COM port number:
  81.         
  82.                   RCOMMAND 3=3E8
  83.         
  84.              will specify COM3 at an I/O Port Address of 0x3E8.
  85.         
  86.              Test mode
  87.         
  88.              RCOMMAND has a test mode.  Specify TEST on the command line, 
  89.         with  or without other parameters, and carrier detect  monitoring 
  90.         is disabled, allowing local testing to be performed.
  91.         
  92.         
  93.              Special characters recognized by RCOMMAND
  94.              -----------------------------------------
  95.         
  96.              Keystroke      Action
  97.              ------------   -------------------------------------------
  98.              ESCAPE         Cancel current input line
  99.              LEFTarrow      Move cursor to the left on current line
  100.              RIGHTarrow     Move cursor to the right on the current line
  101.              INSert         Insert a space whare the cursor is
  102.              DELete         Delete the character under the cursor
  103.              Backspace      Delete the character to the left of cursor
  104.              RETURN         Process current line
  105.         
  106.  
  107.  
  108.  
  109.